package com.readbook.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface WdsjDao {

    public List<Map<String, Object>> findBookPlanPage(Map<String, Object> gmap);


    public int countBookPlanPage(Map<String, Object> gmap);


    public List<Map<String, Object>> findCollectionPage(Map<String, Object> gmap);


    public int countCollectionPage(Map<String, Object> gmap);

    public int sendDiscuss(Map<String, Object> gmap);


    public int discussthumbsupAdd(Map<String, Object> gmap);


    public int discussthumbsupSub(Map<String, Object> gmap);

    public int saveReadlearn(Map<String, Object> gmap);


    public int savePicture(Map<String, Object> gmap);


    /**
     * @author 牟明艳
     * @comments 提交心得体会评论
     * @time 2019年9月4日19:04:00
     */
    public List<Map<String, Object>> checkReacLearnpl(Map<String, Object> gmap);


    public int saveReadlearnpl(Map<String, Object> gmap);

    public List<Map<String, Object>> listReadLearnBylearnid(Map<String, Object> gmap);


    public Map<String, Object> getbookplanBybid(Map<String, Object> gmap);

    public List<Map<String, Object>> getBookreadLogBybid(Map<String, Object> gmap);

    public List<Map<String, Object>> getPictureBylogid(String logid);


    public int savejfjl(Map<String, Object> gmap);

    public int savereadlog(Map<String, Object> gmap);

    public int updatebookplanJd(Map<String, Object> gmap);

    public List<Map<String, Object>> getBookreadLogToday(Map<String, Object> gmap);


    public List<Map<String, Object>> checkReadlearn(Map<String, Object> gmap);


    /**
     * @author 牟明艳
     * @comments 查询书籍打卡读书是否超过预期
     * @time 2019年9月22日14:56:10
     */
    public String listTimeCq(Map<String, Object> gmap);


    /**
     * @author 牟明艳
     * @comments 完成了全部获取剩余全部积分
     * @time 2019年9月22日14:56:10
     */
    public int getSyjfByLogid(Map<String, Object> gmap);


    public List<Map<String, Object>> getPictureByCode(Map<String, Object> gmap);

}

